<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下载链接跳转</title>
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="./ys/style.css">
</head>

<body>
    <div class="load">
        <img src="./ys/OP_s.png">
    </div>
   

    <script src="https://cdn.staticfile.org/sweetalert/2.1.2/sweetalert.min.js"></script>
    <script>

        document.addEventListener('DOMContentLoaded', () => {
            const load = document.querySelector('.load');

            // 在加载完成后直接触发加载界面的动画效果、播放音频文件和调用 openGenshinImpact 函数
            load.classList.add('activate');
            audio.play();
           
        });
        setTimeout(() => {
                window.location.href = '../imgg.html'; // 重定向到指定页面
                console.log("重定向了");
            }, 3000);
    </script>
</body>

</html>